package stagefour.dao;

import stagefour.model.UserModel;

import java.util.List;


public interface UserDao{

    Boolean findByUsernameAndPassword(UserModel userModel);

    Boolean register(UserModel userModel);

    List<UserModel> selectUser(String sql, List<Object> list);

    UserModel getUser(Integer userid);

    Boolean addUser(UserModel userModel);

    Boolean updateUser(UserModel userModel);

    Boolean deleteUser(Integer userid);

    List<UserModel> findAll();






}

